﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DTO;
using DAL;
using System.Collections;

namespace BLL
{
    public class IBDetailTempFunc
    {

        public CustomerEntity LoadCustomerByPhone(string phone)
        {
            IBDetailTempSv ib = new IBDetailTempSv();
            return ib.LoadCustomerByPhone(phone);
        }

        public ArrayList LoadIBDetailByPhone(string phone)
        {
            IBDetailTempSv ib = new IBDetailTempSv();
            var list = ib.LoadIBDetailByPhone(phone);
            return list;
        }
         public void AddIBDetailTemp(CustomerEntity cus,IBDetailEntity _ib)
         {
             IBDetailTempSv ib = new IBDetailTempSv();
             ib.AddIBDetailTemp(cus, _ib);
         }
    }
}
